
// 英文
import en from "./en";
// 简体中文
import zhHans from "./zh-Hans";
// 繁体中文
import zhHant from "./zh-Hant";
import storage from "@/lib/storage";
const appConfig = storage.getItem("appConfig");
const config = {
  locale: appConfig?.lang || "zh-Hans",
  legacy: false,
  globalInjection: true, //全局配置$t
  messages: {
    en,
    "zh-Hans": zhHans,
    "zh-Hant": zhHant,
  },
};



export default config;
